package com.yc.home.cloudother.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yc.bean.Result;
import com.yc.entity.Question;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzk
 * @since 2024-09-23
 */
public interface IQuestionService extends IService<Question> {

    //获取全部
    Page getAll(int page, int size, String input, String id);

    //获取未做题
    Page getNo(int page, int size, String input, String id, String uid);

    //获取已做题
    Page getYes(int page, int size, String input, String id, String uid);

    Result pd(String answer, String qid);

}
